package com.atguigu.jxc.service;

import com.atguigu.jxc.domain.ServiceVO;
import com.atguigu.jxc.entity.PurchaseList;
import com.atguigu.jxc.entity.ReturnList;
import com.atguigu.jxc.to.PurchaseTo;
import com.atguigu.jxc.to.ReturnCountTo;
import com.atguigu.jxc.to.ReturnTo;

import javax.servlet.http.HttpSession;
import java.util.List;
import java.util.Map;

/**
 * @ClassName:PurchaseListGoodsService
 * @Version: 1.0
 * @CreateAt:2021/3/8 10:29
 * @Author: ✨HanSan·胡✨
 * @Description:进货单Service
 */
public interface ReturnListGoodsService {

    ServiceVO save(ReturnList returnList, String returnListGoodsStr, HttpSession session);

    Map listByPage(ReturnTo returnTo);

    Map goodsList(Integer returnListId);

    ServiceVO delete(Integer returnListId);

    ServiceVO updateState(Integer returnListId);

    List<Map> count(ReturnCountTo returnCountTo);
}
